package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.ArticleComment;
import cn.wolfcode.trip.base.domain.UserDynamic;
import cn.wolfcode.trip.base.mapper.UserDynamicMapper;
import cn.wolfcode.trip.base.query.UserQueryObject;
import cn.wolfcode.trip.base.service.IUserDynamicService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserDynamicServiceImpl implements IUserDynamicService {
    @Autowired
    private UserDynamicMapper dynamicMapper;

    public  List<UserDynamic> queryByUserDynamics(Long userId) {
        List<UserDynamic> articleComment = dynamicMapper.queryForCommendById(userId);
        return articleComment;
    }
}
